var Color;
(function (Color) {
    Color[Color["Red"] = 0] = "Red";
    Color[Color["Green"] = 1] = "Green";
    Color[Color["Blue"] = 2] = "Blue";
})(Color || (Color = {}));
console.log(Color, "Color");
var Age;
(function (Age) {
    Age["bkpp"] = "19";
    Age["gun"] = "20";
    Age["off"] = "21";
})(Age || (Age = {}));
console.log(Age.gun, "Age");
function setValue(value) {
    var a = value;
    return a;
}
console.log(setValue(111), "123");
// 类型断言两种形式
// 尖括号
var someValue = "12312311";
var strLength = someValue.length;
console.log(strLength);
// as语法
var strLength1 = someValue.length;
console.log(strLength1);
